Create a shallow copy of SetΒΆ

S3 = S1.copy()

Create a shallow copy of set.
Note:
Shallow copy is a bit-wise copy of an object.
A NEW OBJECT is created that has an exact copy
of the values in the original object.
S1 = set(["Red", "Green"])
S2 = set(["Green", "Red"])

# A shallow copy
S3 = S1.copy()
print(S3)                              # {'Red', 'Green'}